home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
Illustrator 6.0 SDK r1 Mac
/
AI Plugin Interface
/
AIRuntime.h
< prev
next >
Wrap
Text File
|
1995-12-21
|
2KB
|
108 lines
/**
AIRuntime.h
Copyright (c) 1995 Adobe Systems Incorporated.
All Rights Reserved
Adobe Illustrator 6.0 Runtime Environment.
**/
#ifndef __AIRuntime__
#define __AIRuntime__
/*******************************************************************************
**
** Imports
**
**/
#include "AITypes.h"
#include "AINameSpace.h"
#include "AIStringPool.h"
#if Macintosh
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=mac68k
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
#endif
/*******************************************************************************
**
** Constants
**
**/
#define kAIRuntimeSuite "AI Runtime Suite"
#define kAIRuntimeVersion 4
// Runtime notifiers
#define kAIApplicationStartedNotifier "AI Application Started Notifier"
/*******************************************************************************
**
** Types
**
**/
#if Macintosh
typedef char *PlatformAppName;
typedef char *PlatformAppVersion;
typedef char *PlatformUserName;
typedef char *PlatformUserOrganization;
typedef char *PlatformUserSerialNumber;
typedef FSSpec PlatformAppFileSpecification;
#endif
/*******************************************************************************
**
** Suite
**
**/
typedef struct {
MACPASCAL FXErr (*GetAppName) ( PlatformAppName *name );
MACPASCAL FXErr (*GetAppVersion) ( PlatformAppVersion *version );
MACPASCAL FXErr (*GetAppFileSpecification) ( PlatformAppFileSpecification *file );
MACPASCAL FXErr (*GetUserName) ( PlatformUserName *name );
MACPASCAL FXErr (*GetUserOrganization) ( PlatformUserOrganization *organization );
MACPASCAL FXErr (*GetUserSerialNumber) ( PlatformUserSerialNumber *serialNumber );
MACPASCAL FXErr (*GetAppNameSpace) ( NameSpace **space );
MACPASCAL FXErr (*GetAppStringPool) ( StringPool **pool );
} AIRuntimeSuite;
#if Macintosh
#if PRAGMA_IMPORT_SUPPORTED
#pragma import off
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#ifdef __cplusplus
}
#endif
#endif
#endif